#ifndef __DBMANAGER_DB_H__
#define __DBMANAGER_DB_H__
#include "cocos2d.h"
#include <iostream>

USING_NS_CC;

class DBManager
{
public:
	static DBManager* sharedDBManager(void);

	void InitDB();

	CCArray *GetLevelDataArray();
	CCArray *GetAbleLevelArray(int level,int* levelAllCount);


private:
	bool isFileExist(const char* pFileName);
	void copyData(const char* pFileName);
};

#endif